﻿using System.Threading.Tasks;
using Poplar.Passport.Models;

namespace Poplar.Passport.IServices
{
    public interface IUserService
    {
        /// <summary>
        /// login
        /// </summary>
        /// <param name="userName">user name</param>
        /// <param name="password">password</param>
        /// <returns>login result</returns>
        Task<User> Login(string userName, string password);
    }
}
